import { Table, Space} from 'antd';
import './orderi.less';


function Orderi(){
    const columns = [
        {
          title: '订单编号',
          dataIndex: 'name',
          key: 'name',
        },
        {
          title: '下单时间',
          dataIndex: 'age',
          key: 'age',
        },
        {
          title: '流水号',
          dataIndex: 'address',
          key: 'address',
        },
        {
          title: '用户',
          key: 'tags',
          dataIndex: 'tags',
        },
        {
          title: '支付方式',
          key: 'action',
          render: (text, record) => (
            <Space size="middle">
              <a>Invite {record.name}</a>
              <a>Delete</a>
            </Space>
          ),
        },
      ];
 const data = [
        {
          key: '1',
          name: 'John Brown',
          age: 32,
          address: 'New York No. 1 Lake Park',
          tags: ['nice', 'developer'],
        }
    ]
    return(
        <div className='zorderi'>
            <Table 
            pagination={false} 
            columns={columns} 
            dataSource={data} />
        </div>
    )
}
export default Orderi